home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / RAND / UNSPLIT / text1067.txt < prev    next >
Encoding:
Text File  |  1997-02-06  |  2.6 KB  |  83 lines

  1. > > To get some more water on the wheel, I tested memspeed yesterday on my Afterburner040.
  2. > ...
  3. > > With memspeed I get 4.9 MB/s to ST-RAM read and slightly less write.
  4. > In what graphics mode?
  5.  
  6. 640x480 mono.
  7.  
  8. I guess it's correct as you got around 6MB/s and access to ST-RAM is said to be
  9. about 25% slower.
  10.  
  11. > > To TT-RAM I get 35.9 MB/s read and 16 MB/s write.
  12. > That sounds rather low, but see below.
  13.  
  14. I guess it can depend on alot of things and the program was done before 040 Ataris
  15. were even thought of.
  16.  
  17. > What did you get on cache accesses?
  18.  
  19. L1 or L2?
  20. L1 was way over 100MB/s (~130MB/s I think) and I don't remember L2. I didn't care to 
  21. memories them. :-(
  22.  
  23. > Only 9 million 32 bit read accesses and 4 million write accesses per second.
  24. > Even a standard Falcon comes close to that for writes (even if they're only
  25. > 16 bit in that case). I guess the '040 might have to read the entire cache
  26. > line first when writing, though, unless you use move16.
  27.  
  28. I have no idea what memspeed is up to. :-)
  29.  
  30. > Shouldn't burst mode do better than that?
  31. > (Assuming the AB040 does burst, which seems likely.)
  32.  
  33. Dunno.
  34.  
  35. > According to Motorola's 680x0 optimization document:
  36. > Saving/restoring registers:
  37. >    A:   movem.l   d4-d7,-(a7)   B:  move.l   d7,-(a7)
  38. >                                     move.l   d6,-(a7)
  39. >                                     move.l   d5,-(a7)
  40. >                                     move.l   d4,-(a7)
  41. >    68000/20/60/xx:   A
  42. >    68040:            B (if time critical)
  43. > Which suggests that using movem for memory speed test isn't a good idea
  44. > on that processor. I've no idea how large the difference is, though.
  45. > Trying to figure out the instruction timing tables is not simple, but to me
  46. > it looks like succeding MOVEMs with four registers will take seven cycles
  47. > each, while four simple MOVEs will only take four cycles.
  48. > That is, it _might_ be possible to almost double the figures.
  49. > Doug has probably already figured out the correct numbers. ;-)
  50.  
  51. I leave this to you guys who understand this stuff. :-)
  52. I rest the case. :-)
  53.  
  54. > > One interresting thing is that when I run GEM-Bench and test the AB040 against
  55. > > the Medusa040 the AB040 is actually more than twice as fast at RAM-Access and
  56. > Strange.
  57.  
  58. Yup. :-)
  59.  
  60. > > also faster than MagiC Mac running on a 040 MAC. Not a big difference though.
  61. > What kind of Mac was that?
  62.  
  63. I have no idea as it doesn't say.
  64.  
  65. > > BTW. My program is called memspeed.tos, not ttp. :-)
  66. > Well, that might be true for mine as well.
  67. > What version? I have 1.0.
  68.  
  69. I don't know. If you come by my place today you could test it your self.
  70.  
  71. //Magnus Kollberg
  72.  
  73.